#include<stdio.h>
int main()
{
    int a[5]={12,13,43,78,90};
    int i,max=0,min=0,sum=0;
    float ave;
    for(i=0;i<5;i++)
    {
        if(a[i]>a[0])
        {
            max=a[i];
        }
        sum+=a[i];
    }
    for(i=5;i>0;i--)
    {
        if(a[i]<a[0])
        {
            min=a[0];
        }
    }
    ave=sum/5;
    printf("the min is %d\n",min);
    printf("the max is %d\n",max);
    printf("the sum is %d\n,the average is %.2f\n",sum,ave);

    
}